﻿using System;

class CompanyInfo
{
    static void Main()
    {   
        string companyName, companyAddress, website;
        string managerFirstName, managerLastName;
        int companyPhone, companyFax, managerPhone;
        byte age;
        
        Console.WriteLine("This program reads and prints information about company");
        Console.WriteLine();
        Console.WriteLine("Company Information");
        Console.Write("Company name: ");
        companyName = Console.ReadLine();
        Console.Write("Company address: ");
        companyAddress = Console.ReadLine();
        Console.Write("Phone number: ");
        companyPhone = int.Parse(Console.ReadLine());
        Console.Write("Fax: ");
        companyFax = int.Parse(Console.ReadLine());
        Console.Write("Website: ");
        website = Console.ReadLine();
        Console.WriteLine();
        Console.WriteLine("Manager Information:");
        Console.Write("Manager first name: ");
        managerFirstName = Console.ReadLine();
        Console.Write("Manager last name: ");
        managerLastName = Console.ReadLine();
        Console.Write("Manager age: ");
        age = byte.Parse(Console.ReadLine());
        Console.Write("Phone number: ");
        managerPhone = int.Parse(Console.ReadLine());
        Console.WriteLine(new string('-', 27));
        Console.WriteLine(new string('-', 27));

        Console.WriteLine("Company Information:");
        Console.WriteLine("Company name: {0}", companyName);
        Console.WriteLine("Company address: {0}", companyAddress);
        Console.WriteLine("Phone number: {0}", companyPhone);
        Console.WriteLine("Fax: {0}", companyFax);
        Console.WriteLine("Website: {0}", website);
        Console.WriteLine();
        Console.WriteLine("Manager Information");
        Console.WriteLine("Manager first name: {0}", managerFirstName);
        Console.WriteLine("Manager last name: {0}", managerLastName);
        Console.WriteLine("Manager age: {0}", age);
        Console.WriteLine("Phone number: {0}", managerPhone);
    }
}

